package com.yd.domain.business;

import com.yd.domain.commom.DomainObject;

import java.util.List;

/**
 * @author zy
 * @create 2018-03-08 16:53
 * @desc
 **/
public class GType extends DomainObject<GType>{
    private String typeName;//名称
    private float price;//价格
    private boolean ifUse=true;//是否启用--0 false ,1 true
    private String goodKind="1";//1是代表新产品，2是代表旧物
    private String pId;
    private String iconUrl;
    private List<GStyle> styleList;
    /**
     * @Author: zy
     * @Desc: 数据列表查询的字典名称
     * @Date:  2018/3/8
     * @Param
     */
    private boolean ifUseName;
    private String goodKindName;
    private String str;//批量处理

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public List<GStyle> getStyleList() {
        return styleList;
    }

    public void setStyleList(List<GStyle> styleList) {
        this.styleList = styleList;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public boolean isIfUse() {
        return ifUse;
    }

    public void setIfUse(boolean ifUse) {
        this.ifUse = ifUse;
    }

    public String getGoodKind() {
        return goodKind;
    }

    public void setGoodKind(String goodKind) {
        this.goodKind = goodKind;
    }

    public boolean isIfUseName() {
        return ifUseName;
    }

    public void setIfUseName(boolean ifUseName) {
        this.ifUseName = ifUseName;
    }

    public String getGoodKindName() {
        return goodKindName;
    }

    public void setGoodKindName(String goodKindName) {
        this.goodKindName = goodKindName;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    @Override
    public String toString() {
        return "GType{" +
                "typeName='" + typeName + '\'' +
                ", price=" + price +
                ", ifUse=" + ifUse +
                ", goodKind='" + goodKind + '\'' +
                ", pId='" + pId + '\'' +
                ", styleList=" + styleList +
                ", ifUseName=" + ifUseName +
                ", goodKindName='" + goodKindName + '\'' +
                ", str='" + str + '\'' +
                '}';
    }
}
